package com.hube.platform.tenant.constant;

/**
 * @author : Aaron
 * @date : 2022/6/10
 */
public enum StatusEnum {
    ENABLE(1),
    DISABLE(0);
    private int code;

    public int code() {
        return code;
    }

    StatusEnum(int code) {
        this.code = code;
    }

    public boolean equals(int code) {
        return this.code == code;
    }
}
